# -*- coding: utf-8 -*-
# @Time    : 2021/10/20 7:20
# @Author  : super


class DivisionMethod(Exception):

	def __str__(self):
		return "除数不能为0"


_
def testA():
	pass

try:
	raise DivisionMethod()
except Exception as e:
	print(e)
else:
	print("正确")